package com.htzz.collection.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Required;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 根据设备ID和采集点ID查询的工具类
 * @author xudezhi
 * @title: QueryParam2Dto
 * @projectName collection
 * @description: TODO
 * @date 2021/8/2717:23
 */
@ApiModel(value = "设备ID和采集点ID做条件的查询工具类",description = "根据设备ID和采集点ID查询的工具类")
@Data
public class QueryParam2Dto {

    @NotEmpty
    @ApiModelProperty(value = "设备ID",example = "sn19990111",required = true)
    private String devId;

    @NotEmpty
    @ApiModelProperty(value = "采集点ID",example = "speed",required = true)
    private String k;
}
